package com.zyk.vo;

import lombok.Data;

import java.util.Set;

/**
 * Created by Zyk on 2017/11/21.
 */
@Data
public class FinalResult<T>{
    private String msg;
    private T obj;
    private boolean success;



    public FinalResult(boolean success) {
        this.success = success;
    }

    public FinalResult(String msg, boolean success) {
        this.msg = msg;
        this.success = success;
    }

    public FinalResult() {
    }

    public FinalResult(String msg, T obj, boolean success) {
        this.msg = msg;
        this.obj = obj;
        this.success = success;
    }

}
